﻿
using LForum.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Layans.Data
{
    public class NewsPost
    {
        [Key]
        public int Id { get; set; }

        public Avatar avatar { get; set; }
        public string Post { get; set; }
        public ExternalLoginConfirmationViewModel Author { get; set; }
        public DateTime CreationTime { get; set; }
        public IEnumerable<NewsPostAnswer> Comment { get; set; }

        public string Comments { get; set; }

        public string post { get; set; }

        public string Authors { get; set; }

        public string avatars { get; set; }
    }
}
